<template>
  <div class="navbar">
    <div class="logo">
      <img src="../../assets/icon2.jpg" alt="">
    </div>
    <div>
      <p>
        请输入搜索内容
        <van-icon class="ipt-icon" name="search" />
      </p>
    </div>
    <div>
      <img src=//i0.hdslb.com/bfs/face/member/noface.jpg@48w_48h_1c.png alt="">
      <p>下载app</p>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang='scss' scoped>
.navbar {
  height: 12.5vw;
  background-color: white;
  display: flex;
  .logo {
    width: 110px;
    justify-content: center;
    align-items: center;
    display: flex;
    justify-content: center;
    align-items: center;
    img {
      width: 35px;
      height: 35px;
    }
  }
  div:nth-child(2) {
    flex: 1;
    display: flex;
    align-items: center;
    margin: 0 5px;
    p {
      background-color: #f4f4f4;
      position: relative;
      height: 26px;
      width: 100%;
      border-radius: 13px;
      color: #aaa;
      font-size: 12px;
      line-height: 26px;
      padding-left: 30px;
      .ipt-icon {
        position: absolute;
        top: 50%;
        left: 10px;
        transform: translate(0, -40%);
        color: #aaaa;
      }
    }
  }
  div:nth-child(3) {
    display: flex;
    justify-content: center;
    align-items: center;
    img {
      width: 24px;
      height: 24px;
    }
    p {
      padding: 5px 10px;
      margin: 0 8px;
      background-color: #fb7299;
      color: white;
      border-radius: 3px;
      font-size: 13px;
    }
  }
}
</style>
